﻿using System.Linq;

namespace PizzaMario.Domain.Abstract
{
    public interface IAbstractBaseRepository<T> where T : class
    {
        IQueryable<T> All();
        void Add(T entity);
        void Delete(T entity);
        void Refresh(T entity);
        bool IsValid();
        void SaveChanges();
    }
}
